package cn.bklovezz.yixiantong.ram.constant;

public enum ResponseMessage {
  Success("请求成功"),

  UnknownError("请求失败"),

  ParamError("请求参数错误"),

  Unauthorized("未授权"),

  Forbidden("拒绝访问"),

  NotFound("未找到"),

  InternalServerError("服务器内部错误"),

  UserException("用户异常操作"),

  SystemException("系统异常"),

  UsernameIsExist("用户名已经存在了"),

  UserNotFound("用户不存在"),

  UsernameOrPasswordError("用户名或密码错误"),

  UserInfoIsInvalid("用户信息已经过期了"),

  DeleteSuccess("删除成功"),

  DeleteFail("删除失败"),

  UserAccountCountExceeded("用户的数量太多了"),

  Timeout("请求超时");

  private final String message;

  ResponseMessage(String message) {
    this.message = message;
  }

  public String getMessage() {
    return message;
  }
}
